@ Zheng yu Summary
I. symptom: Java httpclient initiates an HTTP request to the WebService interface under the x××× open. x××. com domain name from the master station data center, which is extremely slow. Troubleshooting:
1.1. wget test results No
Specify the IP protocol and the interface for wget to access it. The time is 4.163 seconds, which is basically a waste of host parsing.
If the IP protocol of the specified wget is IPv4, The wget test takes only 0.096 seconds.
1.2. WGEtCompari
Many websites, such as Google, are both IPv4 and IPv6 Dual-line access. www.google.com resolution corresponds to many IP addresses, both IPv4 and IPv6. By default, the DNS server returns multiple IP addresses, while the local machine automatically selects the host based on the response speed of each address.
Generally, people will modify the hosts file in the
The premise for the commercial use of IPv6 is that IPv4 addresses are exhausted. For this reason, we urgently need the IPv6 protocol to improve this situation. So how does IPv6 distribute DNS servers? Next we will analyze the principles in depth. Hope to help you.
What is the architecture of the
There is a situation is that my QQ can continue to log in and can upload information, but my web page is not open, this is due to the use of QQ IP to the transmission of information between IP, the use of the UDP protocol, instead of similar to the login network address, the use of the domain name is converted to an IP address, DNS resolution is required to transfer addresses for IP addresses, so DNS cannot
I was strange, in the Win32 project to import the # include Inet_ntop (): Converts an IPV4 or IPV6 Internet network address to a string in Internet standard format.const char *inet_ntop (int af, const void *SRC, char *dst, socklen_t cnt) { if (af = = af_inet) { struct sockaddr _in in; memset (in, 0, sizeof (in)); in.sin_family = af_inet; memcpy (in.sin_addr, SRC, sizeof (struct in_addr)); Getnameinfo (struct so
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.